﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DTO
{
    public class Rec_BuidingCollection : List<Rec_Buiding>
    {
     public int IndexOf(Rec_Buiding item)
        {
            return base.IndexOf(item);
        }
        public void Insert(int index, Rec_Buiding item)
        {
            base.Insert(index, item);
        }
        public new void RemoveAt(int index)
        {
            base.RemoveAt(index);
        }
        public Rec_Buiding this[int index]
        {
            get
            {
                return base[index];
            }
            set
            {
                base[index] = value;
            }
        }
        public void Add(Rec_Buiding item)
        {
            base.Add(item);
        }
        public new void Clear()
        {
            base.Clear();
        }
        public new bool Contains(Rec_Buiding item)
        {
            return base.Contains(item);
        }
        public new void CopyTo(Rec_Buiding[] array, int arrayIndex)
        {
            base.CopyTo(array, arrayIndex);
        }
        public new int Count
        {
            get
            {
                return base.Count;
            }
        }
        public bool IsReadOnly
        {
            get
            {
                return IsReadOnly;
            }
        }
        public new void Remove(Rec_Buiding item)
        {
            base.Remove(item);
        }
        public new IEnumerator<Rec_Buiding> GetEnumerator()
        {
            return base.GetEnumerator();
        } 
    }
    public class Rec_Buiding
    {
        private int _IdBuiding;

        public int IdBuiding
        {
            get { return _IdBuiding; }
            set { _IdBuiding = value; }
        }
        private string _BuidingCode;

        public string BuidingCode
        {
            get { return _BuidingCode; }
            set { _BuidingCode = value; }
        }
        private string _BuidingName;

        public string BuidingName
        {
            get { return _BuidingName; }
            set { _BuidingName = value; }
        }
        private Int16 _TotalFloor;

        public Int16 TotalFloor
        {
            get { return _TotalFloor; }
            set { _TotalFloor = value; }
        }
        private Boolean _IsUse;

        public Boolean IsUse
        {
            get { return _IsUse; }
            set { _IsUse = value; }
        }
    }
}
